package com.ipc.app.sheduler.impl;

import java.util.LinkedList;
import java.util.List;

import com.ipc.app.biz.InformationBiz;
import com.ipc.app.sheduler.task.IPCTask;
import com.ipc.app.sheduler.task.impl.InformationExpiredTask;

/**
 * @author haijie.zhang
 * 
 */
public class InformationExpiredSheduler extends AbstractIPCSheduler {
	private InformationBiz informationBiz;

	@Override
	public List<IPCTask> getTaskList() {
		List<IPCTask> tasks = new LinkedList<IPCTask>();
		InformationExpiredTask ipcTask = new InformationExpiredTask();
		ipcTask.setInformationBiz(informationBiz);
		tasks.add(ipcTask);

		return tasks;
	}

	public void setInformationBiz(InformationBiz informationBiz) {
		this.informationBiz = informationBiz;
	}

}
